package com.hyt.it.ogt.kq.service.bm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.kq.service.bm.model.entity.ProjectExam;
import com.hyt.it.ogt.kq.service.model.vo.candidateSubject.BmTaskData;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author liteng
 * @since 2021-08-10
 */
public interface IProjectExamService extends IService<ProjectExam> {

    BmTaskData bindProjectExam(String userId, String taskId, String projectId) throws Exception;

    /**
     * 检查是否绑定考务
     *
     * @param projectId
     */
    void checkHasBindKwGov(String projectId);
    
    /**
     * 检查是否绑定考务
     *
     * @param projectId
     */
    ProjectExam getProjectExamByProjectId(String projectId);
}
